{% extends "learning_logs/base.html" %}

{% block content %}
    <form action="{% url 'learning_logs:new_entry' topic.id %}" method="post">
        {% csrf_token %}
        {{ form.as_p }}
        <button type="submit">添加条目</button>
    </form>
{% endblock content %}